package com.gxuwz.stats.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxuwz.stats.entity.DecisionConsulting;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface DecisionConsultingMapper extends BaseMapper<DecisionConsulting> {

    @Insert("INSERT INTO rsp_decision_consulting " +
            "(user_id,consulting_result_name, consulting_category, consulting_score, consulting_notes) " +
            "VALUES " +
            "(#{userId},#{consultingResultName}, #{consultingCategory}, #{consultingScore}, #{consultingNotes})")
    int insertWithUserId(DecisionConsulting decisionConsulting);

}
